package org.shock.ss.sms.bean.system;

public class Role {
	private static final String table = "ckgl_role";// 对应role表
	private Long id;// 角色id
	private String code;// 角色代码
	private String name;// 角色名称
	private Integer paixu;// 角色排序
	private String note;// 角色说明
	private String modids;// 拥有模块
	private String rightids;// 拥有权限
	private Integer type;// 角色类型 0普通，1内置不可修改
	private String portalids;//拥有的portals
	private String areacodes;//区域
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public static String getTable() {
		return table;
	}

	public Integer getPaixu() {
		return paixu;
	}

	public void setPaixu(Integer paixu) {
		this.paixu = paixu;
	}

	public String getRightids() {
		return rightids;
	}

	public void setRightids(String rightids) {
		this.rightids = rightids;
	}

	public String getModids() {
		return modids;
	}

	public void setModids(String modids) {
		this.modids = modids;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPortalids() {
		return portalids;
	}

	public void setPortalids(String portalids) {
		this.portalids = portalids;
	}

	public String getAreacodes() {
		return areacodes;
	}

	public void setAreacodes(String areacodes) {
		this.areacodes = areacodes;
	}
}
